#include <iostream>
using namespace std;
void exc(int &a,int &b);
int main()
{
	int a,b,c,temp;
	cin >> a >> b >> c;
	for(int i = 0;i<3;i++){
		if(a > b){
			exc(a,b);
		}
		if(b > c){
			exc(b,c);
		}
	}
	cout << a << " "<< b << " "<< c << endl;
	
	return 0;
}
void exc(int &a,int &b){
	int  temp;
	temp = a;
	a = b;
	b = temp;
}
